#! /bin/bash
# this loads code into the FX2 to make it look like an Altera USBblaster
# - Modified from the .bat file for Linux
CWD=`pwd`
cd /home/bob/dev/projects/acorn-sdr/ozy
./loadFW  0xfffe 0x0007 ozyfw-sdr1k.hex
sleep 3
./loadFPGA 0xfffe 0x0007 usb_blaster.rbf
sleep 3
./loadFW  0xfffe 0x0007 std.hex
cd $CWD
